package com.zch.house.entity;

import java.sql.Date;

/**
 * 租赁合同实体类
 * @author Administrator
 *
 */
public class LeaseContract {
	/**
	 * 唯一标识
	 */
	private int lc_id; 
	/**
	 * 合同号
	 */
	private String lc_contract_number;
	/**
	 * 房屋信息
	 */
	private int flat_id;
	/**
	 * 租户信息
	 */
	private int tenant_id; 
	/**
	 * 合同日期
	 */
	private Date lc_contract_date;
	/**
	 * 租赁开始时间
	 */
	private Date lc_contract_start_date;
	/**
	 * 租赁结束时间
	 */
	private Date lc_contract_end_date;
	/**
	 * 房租总额
	 */
	private double lc_total_rent;
	/**
	 * 付款方式(0:月付、1:半年付、2:年付、3:季付)
	 */
	private int lc_pay_way;
	/**
	 * 押金
	 */
	private double lc_deposit;
	/**
	 * 付款期数(共需要付款几次)
	 */
	private int lc_period_payment;
	/**
	 * 合同签署人
	 */
	private String lc_contract_signer;
	/**
	 * 合同状态(0标识已失效，1表示正常)
	 */
	private int lc_contract_state;
	public int getLc_id() {
		return lc_id;
	}
	public void setLc_id(int lc_id) {
		this.lc_id = lc_id;
	}
	public String getLc_contract_number() {
		return lc_contract_number;
	}
	public void setLc_contract_number(String lc_contract_number) {
		this.lc_contract_number = lc_contract_number;
	}
	public int getFlat_id() {
		return flat_id;
	}
	public void setFlat_id(int flat_id) {
		this.flat_id = flat_id;
	}
	public int getTenant_id() {
		return tenant_id;
	}
	public void setTenant_id(int tenant_id) {
		this.tenant_id = tenant_id;
	}
	public Date getLc_contract_date() {
		return lc_contract_date;
	}
	public void setLc_contract_date(Date lc_contract_date) {
		this.lc_contract_date = lc_contract_date;
	}
	public Date getLc_contract_start_date() {
		return lc_contract_start_date;
	}
	public void setLc_contract_start_date(Date lc_contract_start_date) {
		this.lc_contract_start_date = lc_contract_start_date;
	}
	public Date getLc_contract_end_date() {
		return lc_contract_end_date;
	}
	public void setLc_contract_end_date(Date lc_contract_end_date) {
		this.lc_contract_end_date = lc_contract_end_date;
	}
	public double getLc_total_rent() {
		return lc_total_rent;
	}
	public void setLc_total_rent(double lc_total_rent) {
		this.lc_total_rent = lc_total_rent;
	}
	public int getLc_pay_way() {
		return lc_pay_way;
	}
	public void setLc_pay_way(int lc_pay_way) {
		this.lc_pay_way = lc_pay_way;
	}
	public double getLc_deposit() {
		return lc_deposit;
	}
	public void setLc_deposit(double lc_deposit) {
		this.lc_deposit = lc_deposit;
	}
	public int getLc_period_payment() {
		return lc_period_payment;
	}
	public void setLc_period_payment(int lc_period_payment) {
		this.lc_period_payment = lc_period_payment;
	}
	public String getLc_contract_signer() {
		return lc_contract_signer;
	}
	public void setLc_contract_signer(String lc_contract_signer) {
		this.lc_contract_signer = lc_contract_signer;
	}
	public int getLc_contract_state() {
		return lc_contract_state;
	}
	public void setLc_contract_state(int lc_contract_state) {
		this.lc_contract_state = lc_contract_state;
	}
	@Override
	public String toString() {
		return "LeaseContract [lc_id=" + lc_id + ", lc_contract_number=" + lc_contract_number + ", flat_id=" + flat_id
				+ ", tenant_id=" + tenant_id + ", lc_contract_date=" + lc_contract_date + ", lc_contract_start_date="
				+ lc_contract_start_date + ", lc_contract_end_date=" + lc_contract_end_date + ", lc_total_rent="
				+ lc_total_rent + ", lc_pay_way=" + lc_pay_way + ", lc_deposit=" + lc_deposit + ", lc_period_payment="
				+ lc_period_payment + ", lc_contract_signer=" + lc_contract_signer + ", lc_contract_state="
				+ lc_contract_state + "]";
	}
	public LeaseContract(int lc_id, String lc_contract_number, int flat_id, int tenant_id, Date lc_contract_date,
			Date lc_contract_start_date, Date lc_contract_end_date, double lc_total_rent, int lc_pay_way,
			double lc_deposit, int lc_period_payment, String lc_contract_signer, int lc_contract_state) {
		super();
		this.lc_id = lc_id;
		this.lc_contract_number = lc_contract_number;
		this.flat_id = flat_id;
		this.tenant_id = tenant_id;
		this.lc_contract_date = lc_contract_date;
		this.lc_contract_start_date = lc_contract_start_date;
		this.lc_contract_end_date = lc_contract_end_date;
		this.lc_total_rent = lc_total_rent;
		this.lc_pay_way = lc_pay_way;
		this.lc_deposit = lc_deposit;
		this.lc_period_payment = lc_period_payment;
		this.lc_contract_signer = lc_contract_signer;
		this.lc_contract_state = lc_contract_state;
	}
	
	public LeaseContract(String lc_contract_number, int flat_id, int tenant_id, Date lc_contract_date,
			Date lc_contract_start_date, Date lc_contract_end_date, double lc_total_rent, int lc_pay_way,
			double lc_deposit, int lc_period_payment, String lc_contract_signer, int lc_contract_state) {
		super();
		this.lc_contract_number = lc_contract_number;
		this.flat_id = flat_id;
		this.tenant_id = tenant_id;
		this.lc_contract_date = lc_contract_date;
		this.lc_contract_start_date = lc_contract_start_date;
		this.lc_contract_end_date = lc_contract_end_date;
		this.lc_total_rent = lc_total_rent;
		this.lc_pay_way = lc_pay_way;
		this.lc_deposit = lc_deposit;
		this.lc_period_payment = lc_period_payment;
		this.lc_contract_signer = lc_contract_signer;
		this.lc_contract_state = lc_contract_state;
	}
	public LeaseContract() {
		super();
	}
}
